﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Ershou.BLL;

public partial class Yhkonjian_fenlei : System.Web.UI.UserControl
{
    yh f1 = new yh();
    protected void Page_Load(object sender, EventArgs e)
    {
        GridView1.DataSource = f1.GetAllshengfen();
        GridView1.DataBind();
    }

    protected string GetProductCountBysf(string id)
    {
        return "("
                + f1.GetProductCountBysf(id).ToString()
                + ")";
    }
}